package com.ilink.groundservice.service.AiX;

import com.ilink.groundservice.entity.PO.AiX.AiXSceneSubPhase;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ilink.groundservice.entity.VO.AiX.AiXSubPhaseResourceResponse;
import com.ilink.ilinkapi.dto.ground.AiX.AiXSubPhaseResourceInsertRequest;
import com.ilink.ilinkapi.dto.ground.AiX.AiXSubPhaseResourceUpdateRequest;
import com.ilink.ilinkapi.dto.ground.AiX.AiXSubPhaseUpdateRequest;
import com.ilink.ilinkcommon.domain.R;
import java.util.List;
import org.springframework.web.multipart.MultipartFile;

/**
* @author LENOVO
* @description 针对表【ai_x_scene_sub_phase】的数据库操作Service
* @createDate 2025-01-15 11:28:45
*/
public interface AiXSceneSubPhaseService  {
  
    R getSubPhases(Long phaseId); 

    R getSubPhaseInfo(Long subPhaseId); 

    R insertSubPhase(Long sceneId, Long phaseId);   

    R updateSubPhase(AiXSubPhaseUpdateRequest request);

    R deleteSubPhase(Long subPhaseId);

    List<AiXSubPhaseResourceResponse> getSubPhaseResources(Long subPhaseId);
    
    R insertSubPhaseResource(AiXSubPhaseResourceInsertRequest request);
    
    R updateSubPhaseResource(AiXSubPhaseResourceUpdateRequest request);
    
    void updateSubPhaseResourceCover(Long resourceId, MultipartFile coverImage);
    
    R deleteSubPhaseResource(Long resourceId);
}
